package Test;

import java.util.Scanner;

class Base{
    public int x;
    public int y;

    public Base(int x, int y) {
        this.x = x;
        this.y = y;
    }
}

class Sub extends Base{
    public int z;
    public Sub(int x, int y) {
        super(x, y);
    }

    public int cheng(){
        return x*y*z;
    }
}

public class option {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int x = 0,y=0,z=0;
        while (scan.hasNext()){
            x = scan.nextInt();
            y = scan.nextInt();
            z = scan.nextInt();
        }
        Sub sub = new Sub(x,y);
        sub.z = z;
        int ret = sub.cheng();
        System.out.println(ret);

    }
}
